package com.zy.easyexcel;

import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.event.AnalysisEventListener;

import java.util.Date;
import java.util.EventListenerProxy;
import java.util.Map;

public class ExListener extends AnalysisEventListener<USerDate> {
    //一行一行的读取数据，冲第二行开始
    @Override
    public void invoke(USerDate uSerDate, AnalysisContext analysisContext) {
        System.out.println(uSerDate);
    }

//    读取表头信息
    @Override
    public void invokeHeadMap(Map<Integer, String> headMap, AnalysisContext context) {
    }

    @Override
    public void doAfterAllAnalysed(AnalysisContext analysisContext) {

    }
}
